package com.hzsai.dynamicdatasource;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * hzsai 2019/8/27
 * usage:
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DynamicDS {
    DataSourceKey datasourceKey() default DataSourceKey.THIRD;
}
